<?php
if (!defined("_INDEX")) { header("Location: /"); die; }

switch($route->getId())
{
	case "start": require_once AJAX.DS."chat".DS."start.php"; break;
	case "check": require_once AJAX.DS."chat".DS."check.php"; break;
	case "send": require_once AJAX.DS."chat".DS."send.php"; break;
	
	default: goToPage();
}

?>